package app

import (
	"chatgpt/helper"
	"chatgpt/services/finetune"
	"github.com/gin-gonic/gin"
)

func FineTuneListHandle(ctx *gin.Context) {
	force := ctx.Query("force")
	rcode, datam := finetune.FineTuneList(force == "yes" || force == "true")
	helper.Echo(ctx, int(rcode), datam)
}
